package com.bj.barcode;

import java.io.Serializable;
import java.util.concurrent.atomic.AtomicInteger;


/**
 * 识别一个客户端的浏览器！
 * @author Administrator
 *
 */
public class ClientMsg implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7821066982729938958L;
	String id;
	String subProtocol;
	String remoteIPAddress;
	String remotePort;
	String agent;
	String responseCommand;
	String requestCommand;
	long   responseTime;
	long   requestTime;
	String base64Image;
	int    base64ImageFlag=0;
	public int getBase64ImageFlag() {
		return base64ImageFlag;
	}
	public void setBase64ImageFlag(int base64ImageFlag) {
		this.base64ImageFlag = base64ImageFlag;
	}
	public String getBase64Image() {
		return base64Image;
	}
	public void setBase64Image(String base64Image) {
		this.base64Image = base64Image;
	}
	public String getResponseCommand() {
		return responseCommand;
	}
	public String getRequestCommand() {
		return requestCommand;
	}
	public void setResponseCommand(String responseCommand) {
		this.responseCommand = responseCommand;
	}
	public void setRequestCommand(String requestCommand) {
		this.requestCommand = requestCommand;
	}
	
	public long getRequestTime() {
		return requestTime;
	}
	public void setRequestTime(long requestTime) {
		this.requestTime = requestTime;
	}
	public long getResponseTime() {
		return responseTime;
	}
	public void setResponseTime(long responseTime) {
		this.responseTime = responseTime;
	}
	//存放唯一的id，用于标识客户端，这个id要返回到客户端去
	public String getSubProtocol() {
		return subProtocol;
	}
	public String getRemoteIPAddress() {
		return remoteIPAddress;
	}
	public String getRemotePort() {
		return remotePort;
	}
	public String getAgent() {
		return agent;
	}
	public String getId() {
		return id;
	}
	public void setSubProtocol(String subProtocol) {
		this.subProtocol = subProtocol;
	}
	public void setRemoteIPAddress(String remoteIPAddress) {
		this.remoteIPAddress = remoteIPAddress;
	}
	public void setRemotePort(String remotePort) {
		this.remotePort = remotePort;
	}
	public void setAgent(String agent) {
		this.agent = agent;
	}
	public void setId(String id) {
		this.id = id;
	} 

}
